package com.accloud.service;

import java.io.Serializable;

public class ACUserDevice implements Serializable {
    public static final int BOTH_ONLINE = 3;
    public static final int LOCAL_ONLINE = 2;
    public static final int NETWORK_ONLINE = 1;
    public static final int OFFLINE = 0;
    private static final long serialVersionUID = 16777219;
    private String aesKey;
    private ACObject attributes;
    public long deviceId;
    public String name;
    public long owner;
    public String physicalDeviceId;
    private ACObject profiles;
    public int status = 0;
    public String subDomain;
    public long subDomainId;

    public ACUserDevice() {
    }

    public ACUserDevice(long deviceId2, long owner2, String name2, long subDomainId2, String subDomain2, String aesKey2, String physicalDeviceId2) {
        this.deviceId = deviceId2;
        this.owner = owner2;
        this.subDomainId = subDomainId2;
        this.subDomain = subDomain2;
        this.name = name2;
        this.aesKey = aesKey2;
        this.physicalDeviceId = physicalDeviceId2;
    }

    public long getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(long deviceId2) {
        this.deviceId = deviceId2;
    }

    public long getOwner() {
        return this.owner;
    }

    public void setOwner(long owner2) {
        this.owner = owner2;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name2) {
        this.name = name2;
    }

    public long getSubDomainId() {
        return this.subDomainId;
    }

    public void setSubDomainId(long subDomainId2) {
        this.subDomainId = subDomainId2;
    }

    public String getAesKey() {
        return this.aesKey;
    }

    public void setAesKey(String aesKey2) {
        this.aesKey = aesKey2;
    }

    public String getPhysicalDeviceId() {
        return this.physicalDeviceId;
    }

    public void setPhysicalDeviceId(String physicalDeviceId2) {
        this.physicalDeviceId = physicalDeviceId2;
    }

    public int getStatus() {
        return this.status;
    }

    public synchronized void setStatus(int status2) {
        this.status = status2;
    }

    public String getSubDomain() {
        return this.subDomain;
    }

    public void setSubDomain(String subDomain2) {
        this.subDomain = subDomain2;
    }

    @Override // java.lang.Object
    public String toString() {
        return "ACUserDevice{deviceId=" + this.deviceId + ", subDomainId=" + this.subDomainId + ", subDomain='" + this.subDomain + "', physicalDeviceId='" + this.physicalDeviceId + "', name='" + this.name + "', owner=" + this.owner + ", aesKey='" + this.aesKey + "', status=" + this.status + '}';
    }

    public ACObject getAttributes() {
        return this.attributes;
    }

    public void setAttributes(ACObject attributes2) {
        this.attributes = attributes2;
    }

    public ACObject getProfiles() {
        return this.profiles;
    }

    public void setProfiles(ACObject profiles2) {
        this.profiles = profiles2;
    }
}
